#ifndef DEFINES_H
#define DEFINES_H



#include <QString>



enum ItemType
{
    Undefined = -1,

    ItemType_FIRST = 0,
    Attribute = ItemType_FIRST,
    Skill,
    Feat,
    Special,

    ItemType_LAST = Special
};



static QString typeToName(const int& type)
{
    switch (type)
    {
    //case Campaign:  return QT_TR_NOOP("Campaign");
    case Attribute: return QT_TR_NOOP("Attribute");
    case Skill:     return QT_TR_NOOP("Skill");
    case Feat:      return QT_TR_NOOP("Feat");
    case Special:   return QT_TR_NOOP("Special Ability");
    default:        return QT_TR_NOOP("Undefined");
    }
}



#endif // DEFINES_H
